home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
pascal
/
eventq.exe
/
SCRIPT.SCR
< prev
Wrap
Text File
|
1991-07-13
|
3KB
|
81 lines
; see the comments at the end of the file for information on the syntax of
; this script file.
T 250
K kbAltF
K O
K S
K C
K R
K D
K E
K M
K O
W 2000
K .
K P
K A
K S
K kbEnter
W 2000
T 500
K kbDown
K kbDown
K kbDown
W 1000
K kbPgDn
K kbPgDn
W 1000
K kbPgUp
W 2000
K kbAltSpace
K l
K kbDown
K kbDown
K kbDown
W 2000
K kbUp
K kbAltF3
W 2000
K kbAltF3
K kbAltF
K x
;*****************************************************************************
; Each line of the script file is of the form:
;
; COMMAND [optional space] PARAMETER
;
; where COMMAND is a single character from the set { K k T t W w }. Lines
; which begin with any other character are ignored. Each command character is
; followed by an optional space and a parameter, the definition of which
; varies according to the command. The commands and allowable parameters are
; as follows:
;
; T t This command sets the default delay time between commands read from
; the script file. The parameter is the time value in milliseconds.
; Since the script demo uses the DOS time-of-day function to measure
; delays, the actual time resolution is on the order of 1/18 second.
; This command may be issued as often as desired; the default delay time
; remains in effect until the next T command is encountered.
;
; W w This command causes a one-time delay, with the time again given in
; milliseconds. Note that this delay is ADDED to the current default
; delay time. This command is useful for pausing the action of a script.
;
; K k This command inserts a single keystroke into the event queue. The
; parameter can be a single ASCII character (other than a space); that
; character is inserted into the event queue. The ^ form of control
; character representation may be used to insert control characters into
; the event queue, or the # construct may be used to insert any ASCII
; character into the event queue. For example, "K ^G" inserts a
; control-G, while "K #36" inserts a dollar sign. Use "K #32" to insert
; a space into the event queue. In addition to the above, the kbXXXX
; constants defined in the Turbo Vision manual may be used to insert
; special key codes into the event queue. For example 'K kbAltF' inserts
; an Alt-F into the event queue. Any of the kbXXXX codes (except
; kbNoKey) may be used.
;
; Any syntax errors in a T or W command result in the command being ignored.
; A syntax error in a K command results in an evNothing event being inserted
; into the event queue.
;*****************************************************************************